.field-validation-error {
    color: var(--secondary-color) !important;
}
.input-validation-error {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}
.umbraco-forms-hidden {
    display: none;
}
.envelope-form .umbraco-forms-fieldset {
    max-width: 992px;
    margin: 0 auto;
    padding: 1rem 0;
}
.envelope-form .umbraco-forms-form input,
.envelope-form .umbraco-forms-form select {
    /*border-color: #e1e1e1;*/
    border-radius: 18px;
}

.envelope-form .umbraco-forms-form .form-label {
    margin: 1rem 0 .5rem 0;
    font-weight: bold;
}

.envelope-form .umbraco-forms-navigation {
    text-align: center;
    margin-top: 2rem;
}

.envelope-form {
    padding: 0 1rem;
    padding-bottom: 200px;
    box-shadow: 5px 0px 11px -6px #000000;
    margin: 0 auto;
    max-width: 1940px;
    width: 90%;
    background-color: #EAF3FF;
}
.envelope-form h2 {
    text-align: center;
}

.envelope-form .envelope-headline {
    max-width: 700px;
    margin: 0 auto;
    font-size: .9rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.envelope-form h2,
.envelope-form p,
.envelope-form label {
    color: var(--primary-color);
}

.envelope-form .field-validation-error {
    font-size: .9rem;
    margin-left: 1.4rem;
    margin-bottom: 0.6rem;
    display: block;
    font-style: italic;
    font-weight: normal;
    color: var(--secondary-color);
}

.envelope-image  {
    margin-top: -38%;
    margin-left: auto;
    margin-right: auto;
    pointer-events: none;
}
@media screen and (min-width: 992px) {
    .envelope-form  {
        padding: 3rem 2rem 0 2rem;
        padding-bottom: 200px;
    }
    .envelope-image {
        margin-top: -20%;
    }
}

/* CANDIDATURA FORM */

.application-form {
    background-color: #fff;
}
.application-form h2 {
    color: var(--secondary-color);
}
.application-form p,
.application-form label {
    color: var(--text-color);
}
.application-form button.button-blue {
    background-color: var(--secondary-color);
}
.application-form button.button-blue:hover {
    background-color: #BE0202 !important;
}
.application-form input[type="file"]::before {
    color: var(--secondary-color);
}

/* CHECKBOX LIST */

.checkboxlist > * {
  margin: 12px 0 0 12px;
}
.checkboxlist {
    display: inline-flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    margin: -12px 0 0 -12px;
    width: calc(100% + 12px);
}

.candidatura span.help-block {
    margin-top: .6rem;
    display: block;
    color: gray;
}